package com.financial.service.heemoney.dto.param;

import com.financial.service.heemoney.dto.commmon.HeemoneyPayCommonDTO;
import com.financial.service.heemoney.dto.businsess.HeemoneyPayBusinessDTO;

/**
 * @Author: wenguoqiang
 * @Email wguoqiango@163.com
 * @Date: 2019/12/2 0002 下午 3:42
 * @Des  汇收银支付参数模型
 */
public class HeemoneyPayParamDTO extends BaseHeemoneyParamDTO<HeemoneyPayCommonDTO,HeemoneyPayBusinessDTO> {

    /**
     * 公共参数
     */
    private HeemoneyPayCommonDTO heemoneyPayCommonDTO;
    /**
     * 业务参数
     */
    private HeemoneyPayBusinessDTO heemoneyPayBusinessDTO;

    public HeemoneyPayParamDTO(HeemoneyPayCommonDTO heemoneyPayCommonDTO, HeemoneyPayBusinessDTO heemoneyPayBusinessDTO) {
        super(heemoneyPayCommonDTO, heemoneyPayBusinessDTO);
        this.heemoneyPayCommonDTO = heemoneyPayCommonDTO;
        this.heemoneyPayBusinessDTO = heemoneyPayBusinessDTO;
    }


    public HeemoneyPayCommonDTO getHeemoneyPayCommonDTO() {
        return heemoneyPayCommonDTO;
    }

    public void setHeemoneyPayCommonDTO(HeemoneyPayCommonDTO heemoneyPayCommonDTO) {
        this.heemoneyPayCommonDTO = heemoneyPayCommonDTO;
    }

    public HeemoneyPayBusinessDTO getHeemoneyPayBusinessDTO() {
        return heemoneyPayBusinessDTO;
    }

    public void setHeemoneyPayBusinessDTO(HeemoneyPayBusinessDTO heemoneyPayBusinessDTO) {
        this.heemoneyPayBusinessDTO = heemoneyPayBusinessDTO;
    }

    @Override
    protected String getSignStr() {
        return heemoneyPayCommonDTO.signStr();
    }

    @Override
    protected HeemoneyPayBusinessDTO getBusinessDTO() {
        return heemoneyPayBusinessDTO;
    }

    @Override
    protected HeemoneyPayCommonDTO getCommonDTO() {
        return heemoneyPayCommonDTO;
    }


}
